Sets the properties of a Tasks object (Task Definition, RegisteredTask, Action or Trigger).
#Include <TaskScheduler.au3>
_TS_TaskPropertiesSet(ByRef $oObject, $aProperties)
Parameters
| $oObject | Object of a Task Definition, RegisteredTask, Action or Trigger |
| $aProperties | one-dimensional zero based array in the following format: "object name|property name|property value" Name of the object to process. Valid are: TASK, DEFINITION, PRINCIPAL, REGISTRATIONINFO, SETTINGS, IDLESETTINGS, NETWORKSETTINGS, TRIGGERS, REPETITION and ACTIONS Name of the property to set Value for the property to set |
Return Value
Success: 1
Remarks
Sections that are not valid for the passed object are ignored!
Related
Example
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Res_requestedExecutionLevel=asInvoker
#AutoIt3Wrapper_AU3Check_Stop_OnWarning=y
#AutoIt3Wrapper_AU3Check_Parameters=-d -w 1 -w 2 -w 3 -w 4 -w 5 -w 6 -w 7
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#include <MsgBoxConstants.au3>
MsgBox($MB_ICONINFORMATION, "Task Scheduler UDF", "Please check example script _TS_TaskCreate.au3 for an example!")